FUNCTION
list.indexOf
function indexOf(value: T): integerDeprecated (for removal): Use 'index_of' instead
Search for the first occurrence of the specified element within this list.
Parameters
- value — the element for which to search
Returns
the index of the first occurrence of the element within this list, or -1 if the element
does not occur in this list
Since
0.9.0
Alias of list.index_of
© 2026 Chromia